/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.android.receiver.commands.call.animate;

import com.hercules.android.receiver.Receiver;
import com.hercules.android.receiver.commands.XRECommandHandlerException;
import com.hercules.android.receiver.entities.XREObject;
import com.hercules.android.receiver.entities.XREView;

/**
 * <p>
 * This interface will handle the animate call command message.
 * </p>
 * 
 * @author TCSASSEMBER
 * @version 1.0
 */
public interface XREHandlerAnimate {
    /**
     * Handle the animate call command message.
     * 
     * @param targetView
     *            the target view need to animate
     * @param animationResource
     *            the animation resource
     * @param receiver
     *            the <code>Receiver</code> instance.
     * @throws XRECommandHandlerException
     *             if any error occurs
     */
    public void handle(XREView targetView, XREObject animationResource, Receiver receiver)
            throws XRECommandHandlerException;
}
